@extends('Admin.layout.layout')
@section('title')
<title>lamp178官网 - 后台式神添加</title>
@endsection
@section('con')
	<div class="row">
                <div class="col-lg-12">
                    <h1>式神添加</h1>
                    <h4 style="margin-top:25px">亲爱的管理员</h4>
                    <h4 style="margin-top:15px;margin-left:40px;">如果你要添加即重要又帅气的式神 请务必把下面信息<b>都填写完整</b> 不然会从头开始哦  谢谢合作</h4>
                    <h4 class="page-header" style="margin-top: 0px;"></h4>
                </div>
                <!-- /.col-lg-12 -->
            </div>
          @if (count($errors) >0)
          <div class="alert alert-danger">
          	<ul>
          		@foreach($errors->all() as $error)
          		<li>{{ $error }}</li>
          		@endforeach
          	</ul>
          </div>
          @endif
          <form action="{{url('/admin/shisheng/insert')}}" method="post" class="form-horizontal" enctype="multipart/form-data">
          		
          			<div class="form-group">
          			    <label for="inputPassword3" class="col-sm-2 control-label">式神名</label>
          			    <div class="col-xs-4">
          			     <input type="text" name="username"  class="form-control" value="{{old('username')}}" >
          			     
          			    </div>
          			    <span></span>
          			  </div>
          			 
          			<div class="form-group">
          			    <label for="inputPassword3" class="col-sm-2 control-label">等级</label>
          			    <div class="col-xs-4">
          			     <select class="form-control" name="grade">
                           <option value="SSR">SSR</option>
                           <option value="SR">SR</option>
                           <option value="R"> R</option>
                           <option value="N">N</option>
                           </select>
          			   
          			  </div>
          			  </div>
          			
          			  
          			  <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">式神觉醒前头像&nbsp;&nbsp;</label>
                          <input type="file" name="img">
                </div>
                <div class="form-group">
                        <label for="inputPassword3" class="col-xs-2 control-label">式神觉醒后头像&nbsp;&nbsp;</label>
                          <input type="file" name="pic">
                </div>
          
                 <div class="form-group">
          			    <label for="inputEmail3" class="col-sm-2 control-label">描述</label>
          			   <div class="col-xs-4">
          			      <textarea class="form-control" rows="3" name="miaoshu"></textarea>
          			     
          			    </div>
          			    
          			  </div>
          				

          			  <!--攻击-->
          			<div  style="padding-left: 1px;border-left-style: solid;margin-left: 15%;">
                  <div class="col-xs-1">
                        <label>攻击</label>
                         
          			     <input type="text" name="gongji"  class="form-control" style="padding-left:2px;padding-right:2px;" >
          			     </div>
          			    </div>
                           

          			  <!--防御-->
					 <div  style="padding-left: 1px;border-left-style: solid;margin-left: 130px;">
                  <div class="col-xs-1">
                        <label>防御</label>
                         
          			     <input type="text" name="fangyu"  class="form-control" style="padding-left:2px;padding-right:2px;">
          			     
          			    </div>
                            </div>
					  
					  <!--生命-->
					  <div  style="padding-left: 1px;border-left-style: solid;margin-left: 130px;">
                  <div class="col-xs-1">
                        <label>生命</label>
                         
          			     <input type="text" name="shengming"  class="form-control" value="" style="padding-left:2px;padding-right:2px;">
          			     
          			    </div>
                            </div>
					  <!--速度-->
					 <div  style="padding-left: 1px;border-left-style: solid;margin-left: 130px;">
                  <div class="col-xs-1">
                        <label>速度</label>
                         
          			     <input type="text" name="sudu"  class="form-control" value="" style="padding-left:2px;padding-right:2px;">
          			     
          			    </div>
                            </div>
					  <!--暴击-->
					   <div  style="padding-left: 1px;border-left-style: solid;margin-left: 130px;">
                  <div class="col-xs-1" style="margin-right:50%;">
                        <label>暴击</label>
                         
          			     <input type="text" name="baoji"  class="form-control" value="" style="padding-left:2px;padding-right:2px;">
          			     
          			    </div>
                            </div>
						
					  
					  <!--暴击伤害-->
					    <div  style="padding-left: 1px;border-left-style: solid;margin-left: 15%;">
                  <div class="col-xs-2" style="border-top-width: 20px;margin-top: 20px;">
                        <label>暴击伤害</label>
                         
          			     <input type="text" name="shanghai"  class="form-control" value="" style="padding-left:2px;padding-right:2px;">
          			     
          			    </div>
                            </div>
					 
					  
					  <!--效果命中-->
					  <div  style="padding-left: 1px;border-left-style: solid;margin-left: 130px;">
                  <div class="col-xs-2" style="border-top-width: 20px;margin-top: 20px;">
                        <label>效果命中</label>
                         
          			     <input type="text" name="mingzhong"  class="form-control" value="" style="padding-left:2px;padding-right:2px;">
          			     
          			    </div>
                            </div>
					  
					  <!--效果抵抗-->
					    <div  style="padding-left: 1px;border-left-style: solid;margin-left: 130px;">
                  <div class="col-xs-2" style="margin-right:40%;border-top-width: 20px;margin-top: 20px;">
                        <label>效果抵抗</label>
                         
          			     <input type="text" name="dikang"  class="form-control" value="" style="padding-left:2px;padding-right:2px;">
          			     
          			    </div>
                            </div>
					  
					  
					  <!--技能图片1-->
				<div  style="padding-left: 1px;border-left-style: solid;margin-left: 15%;">
                  <div class="col-xs-2" style="border-top-width: 20px;margin-top: 20px;">
                        <label>技能</label>
                          <input type="file" name="jineng1" >
          			     <img src="/img/1.jpg" class="img-circle" style="width:100px;height:100px ">
          			    
						 <!--技能名称-->
					 <div class="col-xs-10">
                        <label>名称</label>
                         
          			     <input type="text" name="jineng11"  class="form-control" value="" style="padding-left:2px;padding-right:2px;">
          			     </div>
          			    </div>
                        </div>
					  
					  <!--技能图片2-->
					  	<div  style="padding-left: 1px;border-left-style: solid;margin-left: 15%;">
                  <div class="col-xs-2" style="border-top-width: 20px;margin-top: 20px;">
                        <label>技能</label>
                          <input type="file" name="jineng2" >
          			     <img src="/img/1.jpg" class="img-circle" style="width:100px;height:100px ">
          			    
						 <!--技能名称-->
					 <div class="col-xs-10">
                        <label>名称</label>
                         
          			     <input type="text" name="jineng22"  class="form-control" value="" style="padding-left:2px;padding-right:2px;">
          			     </div>
          			    </div>
                        </div>
							<div  style="padding-left: 1px;border-left-style: solid;margin-left: 15%;">
                  <div class="col-xs-2" style="border-top-width: 20px;margin-top: 20px;">
                        <label>技能</label>
                          <input type="file" name="jineng3" >
          			     <img src="/img/1.jpg" class="img-circle" style="width:100px;height:100px ">
          			    
						 <!--技能名称-->
					 <div class="col-xs-10">
                        <label>名称</label>
                         
          			     <input type="text" name="jineng33"  class="form-control" value="" style="padding-left:2px;padding-right:2px;">
          			     </div>
          			    </div>
                        </div>
					  
					
					  
					  <!--技能图片3-->
					  <!--技能名称-->
					  
					  
          			  {{csrf_field()}}

          			<div class="col-md-6 col-md-offset-3" style="border-top-width: 20px;margin-top: 20px;">
          			
          			<button type="submit" class="btn btn-primary btn-lg">提交</button>
          			<button type="reset" class="btn btn-danger btn-lg">重置</button>
          			
          			</div>
          	</form>
@endsection